<?php
namespace app\admin\controller;
use \think\Controller;
use \think\Session;
class Common extends Controller
{
	public function _initialize(){
		if(!Session::has('admin_id')){
			$this->redirect('index/index');
		}
	}
}